home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
cnet
/
kickboxing10b.lha
/
Kick-Boxing
< prev
next >
Wrap
Text File
|
1994-12-31
|
1KB
|
42 lines
/* Kick Boxing V1.0 (By: Billy The Kid) 313-422-3113 */
options results
getuser 1;name=result
logentry ''name' played Kick-Boxing'
wins=0;loses=0;class='Fly_weight';trwins=0;trloses=0;lastplayer=0;fought=0
str=50;winlose=0;ver='1.0b';pk=0;rank=0
startup:
transmit 'f1n1c5@ Kickboxing Version 'ver' || By: Billy The Kid (C) 1991'
call checkchamp
sendfile "pfiles:Kickboxing/KickBox.Intro"
if exists('pfiles:Kickboxing/Fighters/'name) then do
transmit 'n1c4|| c1Welcome back 'name''
call start
end
if ~exists('pfiles:KickBoxing/Fighters/'name) then do
transmit 'n1c4|| c1A new fighter, welcomec1!'
transmit 'n1c5Let me set you up with a stats record.'
call open(file,'pfiles:Kickboxing/Fighters/'name'',"W")
call writeln file, wins;call writeln file, loses;call writeln file, class
call writeln file, trwins;call writeln file, trloses;call writeln file, str
call writeln file, pk;call writeln file, rank;call close(file)
if ~exists('pfiles:Kickboxing/Fighters.List') then do
call open(file,'pfiles:Kickboxing/Fighters.List',"W")
call writeln file, name;call close(file)
call start
end
call open(file,'pfiles:Kickboxing/Fighters.List',"A")
call writeln file, name;call close(file)
call start
start:
transmit 'n1c1* The current champion is c4'champ''
transmit 'n1c2One moment please..'
spawn 'pfiles:KickBox.Main'
exit
Checkchamp:
call open(file,'Pfiles:Kickboxing/Champ.dat',"R")
champ=readln(file);call close(file);return